/*************************************************************************
 *                                                                       *
 * This file is part of the FreeMAPs distribution.  For full copyright   *
 * information, see COPYRIGHT and COPYING.LESSER.                        *
 *                                                                       *
 * Author:           sqbang                                              *
 * Email:            sqbang@ustc.edu                                     *
 * Date:             2013.12.10                                          *
 *                                                                       *
 *************************************************************************/

#ifndef FreeMAPs_include_COMMON_tbox_Complex_h
#define FreeMAPs_include_COMMON_tbox_Complex_h

#include "FreeMAPsConfig.h"

#include <complex>

/*!
 * @page toolbox_complex Toolbox Complex Type
 *
 * @brief Complex is a typedef to overcome C++ compiler issues with
 * the std::complex type.
 *
 * The std::complex type should be a template however some older C++ compilers
 * implement complex as a double complex.  Complex is used to hide this
 * platform issue behind a typedef.
 *
 * @internal NOTE: This should be removed when no longer required.
 *
 */
typedef std::complex<double> Complex;

#endif
